package com.eb.pojo;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name = "bargain_goods")
public class BargainGoods implements Serializable {
    @Id
    private Long id;

    private Long goodId;

    private Date startTime;

    private Date endTime;

    private Integer xgNum;

    private Integer goodPrice;

    private Integer goodUpset;

    private Integer knife;

    private Integer bargain;

    private String activityDetail;

    private Integer remaining;

    private Long userId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getGoodId() {
        return goodId;
    }

    public void setGoodId(Long goodId) {
        this.goodId = goodId;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getXgNum() {
        return xgNum;
    }

    public void setXgNum(Integer xgNum) {
        this.xgNum = xgNum;
    }

    public Integer getGoodPrice() {
        return goodPrice;
    }

    public void setGoodPrice(Integer goodPrice) {
        this.goodPrice = goodPrice;
    }

    public Integer getGoodUpset() {
        return goodUpset;
    }

    public void setGoodUpset(Integer goodUpset) {
        this.goodUpset = goodUpset;
    }

    public Integer getKnife() {
        return knife;
    }

    public void setKnife(Integer knife) {
        this.knife = knife;
    }

    public Integer getBargain() {
        return bargain;
    }

    public void setBargain(Integer bargain) {
        this.bargain = bargain;
    }

    public String getActivityDetail() {
        return activityDetail;
    }

    public void setActivityDetail(String activityDetail) {
        this.activityDetail = activityDetail == null ? null : activityDetail.trim();
    }

    public Integer getRemaining() {
        return remaining;
    }

    public void setRemaining(Integer remaining) {
        this.remaining = remaining;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
}